import request from '@/utils/request'

export function findAllPermissions(id) {
  return request({
    url: `/admin/sysAuth/permission/findAllPermissions`
  })
}
export function saveRolePermissions(data) {
  return request({
    url: `/admin/sysAuth/role/saveRolePermissions`,
    method: 'post',
    data
  })
}

